import axios from "axios";


/**
 * 获取体温表配置数据
 */
export const getConfigData = () => {
  const instance = axios.create({
    baseURL: "",
    timeout: 5*1000,
    headers: { "X-Custom-Header": "foobar" },
  });
  return instance.get("/api/temp");
};


/**
 * 获取体温表数据
 */
export const getTemperatureData = ()=>{
  const instance = axios.create({
    baseURL: "",
    timeout: 5*1000,
    headers: { "X-Custom-Header": "foobar" },
  });
  return instance.get("/api/drawingVitalSign");
}
